Conversation
|
A few things to consider before merging:
|
|
Hi @willu47! I believe your second bullet point of
has been implemented in PR #126! Specifically, the When I run this command otoole results cplex csv model.sol results-with-zero datafile data.txt config.yaml --write_defaultsThe results write out with zeros removed. No helpful debugging logs got printed out either. I tried with |
|
Ahh.. we are hitting the Lines 260 to 264 in 15bdc0b |
There was a problem hiding this comment.
Please see PR #216 for my suggestion on how to address reading in zeros from CPLEX. I would vote to leave the removal of zeros in the ReadCplex class because:
- Be consistent with how other solvers present results
- This is probably the common desired functionality, so to reduce size of dfs (like you mentioned) when handling data.
- Use the existing
WriteStrategy._expand_defaults()class to achieve the same result
But! I am not opposed to this solution if you (or others) feel we should be presenting unmodified cplex results to the user! :)
Reads in zero values from the CPLEX solution file
Description
Removes the piece of code which excluded zero values from the CPLEX solution.
Issue Ticket Number
#214
Documentation
This has not been documented.